﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.redshift
{
	// Token: 0x02000109 RID: 265
	public class TRedshiftCommit : TCustomSqlStatement
	{
		// Token: 0x060008B4 RID: 2228 RVA: 0x00302629 File Offset: 0x00300829
		public TRedshiftCommit(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstredshiftCommit;
		}

		// Token: 0x060008B5 RID: 2229 RVA: 0x0030263D File Offset: 0x0030083D
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x060008B6 RID: 2230 RVA: 0x00302652 File Offset: 0x00300852
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x060008B7 RID: 2231 RVA: 0x00302662 File Offset: 0x00300862
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
